package cn.glc.daily.life.common.config.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * 微博登录授权配置
 *
 * @author simon
 * @date 2021/09/56 9:56
 * @copyright:
 * @modifier
 * @motto a no talent, people who have to study hard
 */
@Data
@Configuration
@ConfigurationProperties(prefix = "business.mail")
public class MailProperties {

    /**
     * 主机
     */
    private String host;
    /**
     * 账号
     */
    private String username;
    /**
     * 密码
     */
    private String password;
    /**
     * 邮件发送端口
     */
    private Integer port = 25;

}
